package com.hktf.moedokilock.adapter;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hktf.moedokilock.R;

import java.util.List;

/**
 * @包名称： com.cdz.bluetooth.adapter
 * @类名： BluetoothViewAdapter
 * @创建人： 陈大专
 * @时间： 2021/08/17 14:06
 * @描述：
 */
public class MyItemAdapter extends BaseQuickAdapter<String, BaseViewHolder> {
    public MyItemAdapter(@Nullable List<String> data) {
        super(R.layout.my_item,data);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, String item) {
        helper.setText(R.id.tv, item);
    }
}
